#-*- encoding: utf-8 -*-
'''
Created on 2011-4-17

@author: Bob
'''
########################_#######################_#######################
#服务器用户
class ServerUser:
    #基本信息
    isActive            = False
    isAI                = False
    tax                 = 0
    userRule            = None
    scoreOrignal        = 0
    scoreModify         = 0
    userData            = None
    isQueueSeat         = False
    #辅助信息
    userIndex           = 0
    clientIp            = ''
    logonTime           = 0
    playTimeCount       = 0
    password            = ''
    ##信息接口
    #是否激活
    def IsActive(self):
        pass
    
    def GetUserIndex(self):
        pass
    
    def GetClientIP(self):
        pass
    
    def GetPassword(self):
        pass
    
    ##功能接口
    #设置规则
    def SetUserRule(self, userRule):
        pass
    #积分信息
    def GetUserScoreModify(self):
        pass
    #修改积分
    def WriteScore(self,scoreInfo,playTimeCount):
        pass
    
    #设置状态
    def SetUserStatus(self,userStatus,tableID,chairID):
        pass
        
    def IsQueueSeat(self):
        pass
    def SetQueueSeat(self,queueSeat):
        pass
    def IsAIUser(self):
        pass
    def SetAIUser(self,botUser):
        pass